home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / dsp / dr.bub / 96000.lha / 96000 / appb / b13.asm < prev    next >
Assembly Source File  |  1992-04-28  |  1KB  |  21 lines

  1. ; This program was originally published in the Motorola DSP96002 Users Manual
  2. ; and is provided under a DISCLAIMER OF WARRANTY available from Motorola DSP
  3. ; Operation, 6501 William Cannon Drive West, Austin, Texas 78735-8598.  For
  4. ; more information, refer to the DSP96002 Users Manual, Appendix B, DSP
  5. ; Benchmarks.
  6. ;
  7.  
  8. ; B.1.3    Real Update  
  9. ;   d = c + a * b 
  10. ;                                                          Program    ICycles 
  11. ;                                                          Words 
  12.     org p:$100
  13.      move                      x:(r0),d4.s     y:(r4),d6.s ;      1          1 
  14.      fmpy.s  d4,d6,d1          x:(r1),d0.s              ;         1          1 
  15.                    fadd.s      d1.s,d0.s                ;         1          1 
  16.      move                      d0.s,x:(r2)              ;         1          1 
  17. ;                                                           ---        --- 
  18. ;                                                   Totals:      4          4 
  19. ;                                                           (    4          4) 
  20.